#!/bin/sh
#
# NAME: mkpkg
# DESC: makes a meterserv ipkg package for installation on an NSLU2.
#       this is a binary only package - only the files needed to run meterserv
#       are included.
# HIST: 23mar2008  GJ  ORIGINAL VERSION
#

dirs="pkg pkg/etc pkg/home pkg/home/www pkg/home/www/servers pkg/home/www/servers/meterserv pkg/home/www/servers/meterserv/cgi-bin"

for dir in $dirs; do
   if [ ! -d $dir ]; then
      echo "creating "$dir
      mkdir $dir;
   else
      echo "skipping $dir - already exists"
   fi
done


